package assignment10;

import java.io.*;

public class ReadUTF {
	public static void main(String[] args) throws IOException {
	    FileInputStream s=new FileInputStream("G:\\Users\\IOtest\\test.txt");
        int c;
        while ((c = s.read()) != -1) //读取1字节，结束返回-1
            System.out.write(c);     
        s.close();
    }
}